package com.kefu.call.model;

import java.io.Serializable;
import java.util.Date;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value="gateway")
@ApiModel(description = "网关表")
public class CallGateway implements Serializable{

	@TableId(value="F_Oid",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String fOid;
    
    @TableField(value="name")
    @ApiModelProperty(value = "名称")
    private String name;
    
    @TableField(value="realm")
    @ApiModelProperty(value = "注册的地址")
    private String realm;
    
    @TableField(value="register")
    @ApiModelProperty(value = "是否注册【true或false】")
    private String register;
    
    @TableField(value="fromuser")
    @ApiModelProperty(value = "发件人字段中使用的用户名如果为空，则默认为用户名")
    private String fromuser;
    
    @TableField(value="concurrent")
    @ApiModelProperty(value = "并发数量")
    private Integer concurrent;
    
    @TableField(value="username")
    @ApiModelProperty(value = "注册用户名")
    private String username;
    
    @TableField(value="password")
    @ApiModelProperty(value = "密码")
    private String password;
    
    @TableField(value="authusername")
    @ApiModelProperty(value = "验证用户名")
    private String authusername;
    
    @TableField(value="calleridinfrom")
    @ApiModelProperty(value = "显示在from中的名称")
    private String calleridinfrom;
    
    @TableField(value="extension")
    @ApiModelProperty(value = "联系分机")
    private String extension;
    
    @TableField(value="extensionincontact")
    @ApiModelProperty(value = "SIP联系人头中发送分机")
    private String extensionincontact;
    
    @TableField(value="proxy")
    @ApiModelProperty(value = "代理")
    private String proxy;
    
    @TableField(value="context")
    @ApiModelProperty(value = "联系地址")
    private String context;
    
    @TableField(value="expireseconds")
    @ApiModelProperty(value = "注册秒，默认3600")
    private String expireseconds;
    
    @TableField(value="retryseconds")
    @ApiModelProperty(value = "重试注册的秒数")
    private String retryseconds;
    
    @TableField(value="fromdomain")
    @ApiModelProperty(value = "发件人用户")
    private String fromdomain;
    
    @TableField(value="registerproxy")
    @ApiModelProperty(value = "from字段中使用的域")
    private String registerproxy;
    
    @TableField(value="contactparams")
    @ApiModelProperty(value = "注册的代理")
    private String contactparams;
    
    @TableField(value="registertransport")
    @ApiModelProperty(value = "寄存器传输【如果已启用，则为udp，tcp或tls】")
    private String registertransport;
    
    @TableField(value="memo")
    @ApiModelProperty(value = "名称")
    private String memo;
    
    @TableField(value="profileOid")
    @ApiModelProperty(value = "驱动[profile]id")
    private String profileoid;

    
    @TableField(value="Company")
    @ApiModelProperty(value = "公司ID")
    private String company;
    
    @TableField(value="EnableGw")
    @ApiModelProperty(value = "是否启用")
    private Integer enablegw;
    
    @TableField(value="Gs")
    @ApiModelProperty(value = "归属")
    private String gs;
    
    @TableField(value="Qh")
    @ApiModelProperty(value = "区号")
    private String qh;
    
    @TableField(value="RentalMinute")
    @ApiModelProperty(value = "免费通话时间[本月]")
    private String rentalminute;
    
    @TableField(value="SetMealOid")
    @ApiModelProperty(value = "当月套餐")
    private Integer setmealoid;

    @TableField(exist = false)
    @ApiModelProperty(value = "当月套餐名称")
    private String setmealName;
    
    @TableField(value="SyncTime")
    @ApiModelProperty(value = "下次同步时间")
    private String synctime;
    
    @TableField(value="SetMealOidU")
    @ApiModelProperty(value = "下月生效套餐")
    private Integer setmealoidU;

    @TableField(exist = false)
    @ApiModelProperty(value = "下月生效套餐名称")
    private String setmealNameU;

    @TableField(value="Consumption")
    @ApiModelProperty(value = "消费[本月]")
    private String consumption;

    @TableField(value="syncstate")
    @ApiModelProperty(value = "同步状态 1：同步完成0：未同步")
    private Integer syncstate;

    @TableField(exist = false)
    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @TableField(value="CreateName")
    @ApiModelProperty(value = "创建人")
    private String createName;

    @TableField(value="CreateTime")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "被叫前缀")
    private String callprefix;

    @ApiModelProperty(value = "是否在支撑显示，1显示，0不显示")
    private Integer bshowFlag;
    private static final long serialVersionUID = 1L;
}